﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace SurfacePlatform
{
    class Item : Touchable
    {
        private String name;

        public void takeItem(Player player, List<Player> allPlayers)
        {
            switch (name)
            {
                case "bad":
                    player.Health--;
                    break;
                case "good":
                    player.Health++;
                    break;
            }
        }
        public Item(String name)
        {
            this.name = name;
        }
    }
}
